package com.spzx.product.mapper;


import com.spzx.product.api.domain.Brand;

import java.util.List;

public interface BrandMapper {

    List<Brand> selectBrandList(Brand brand);

   /* int deleteBrand(Long id);*/

    int deleteBrands(List<Long> ids);


    int slectCountByName(String name);

    boolean save(Brand brand);

    Brand getById(Long id);

    boolean updateById(Brand brand);

    Brand selectByName(String name);

    List<Brand> listAll();
}
